Ext.define('NF.view.farm.LivestockMasterDetails', {
    extend:'Ext.panel.Panel',
    alias:'widget.livestockMasterDetails',
    layout:'border',
    initComponent:function() {
        var self=this;
        this.items =[
            {
                xtype: 'livestockInfo',
                region: 'north',
                frame:true,
                boxMaxHeight: 100,
                boxMinHeight: 100,
                height: 100,
                context:self.model.context
            },
            {
                xtype: 'livestockDetails',
                region: 'center',
                context:self.model.context
            }
        ];
        this.callParent(arguments);
        this.setTitle(self.model.context.name + ": #"+self.model.context.id);
    } //initComponent
});